﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Common
/// </summary>
public class CommonConst
{
    public static readonly string UPLOADFOLDER = "UPLOADFOLDER";
    /// <summary>
    /// Kiem tra xem mot sau co ki tu dac biet hay khong
    /// </summary>
    /// <param name="content"></param>
    /// <returns>True neu ton tai, False neu khong ton tai</returns>
    public static bool checkSpecificCharacter(string content)
    {
        string regex = @"/+\[]{}^$#!~`";
        foreach(char s in regex.ToCharArray()){
            if (content.Contains(s)) return true;
        }

        return false;
    }

}